#include <Wire.h>
#include <Centipede.h>

Centipede CS;
int ledPin = 13;

void setup() {
  Wire.begin();
  CS.initialize();
  CS.portMode(0, 0b0000000000000000);
    pinMode(ledPin, OUTPUT);
}

void loop() {
  digitalWrite(ledPin, HIGH);
  CS.digitalWrite(1, HIGH);
  CS.digitalWrite(2, LOW);
  delay(500);
  
  digitalWrite(ledPin, LOW);
  CS.digitalWrite(1, LOW);
  CS.digitalWrite(2, HIGH);
  delay(500);
}
  

